package cn.wind.xboot.logic.cli.dao;

import cn.wind.xboot.logic.cli.entity.CliInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author xukk
 * @since 2018-08-13
 */
public interface CliInfoMapper extends BaseMapper<CliInfo> {
    IPage<CliInfo> findAll(IPage page,@Param("ew") Map<String, Object> map);

    @Delete("delete from t_cli_info where id=#{id}")
    int delById(Long id);
}
